<template>
  <UiButton variant="primary" size="md" @click="goSettings">设置</UiButton>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
import { UiButton } from '../ui'

const router = useRouter()
const goSettings = () => {
  router.push({ name: 'Settings' })
}
</script>